<ion-header>
  <ion-navbar>
    <ion-title>诚信管理</ion-title>
    <ion-buttons end>
      <button ion-button (click)="chooseListType()">操作</button>
    </ion-buttons>
  </ion-navbar>
  <ion-row class='email-list-searchbar'>
    <ion-col col-10>
      <ion-toolbar>
        <ion-searchbar [(ngModel)]="managerName" placeholder="请输入一级账户管理人名称进行搜索"></ion-searchbar>
      </ion-toolbar>
    </ion-col>
    <ion-col col-2>
      <button ion-button class="search-button" (click)="search()">查询</button>
    </ion-col>
  </ion-row>

</ion-header>
<ion-content>
  <ion-refresher (ionRefresh)="doRefresh($event)">
    <ion-refresher-content pullingText="下拉刷新" refreshingText="加载中..."></ion-refresher-content>
  </ion-refresher>
  <ion-list class="gfoa-list">
    <ion-item *ngFor="let item of listData" (click)="goDetailPage(item)">
      <ion-row class="first-row">
        <ion-col width-70 class="left">{{item[1]}}</ion-col>
        <ion-col width-20 class="right">{{item[2]}}</ion-col>
      </ion-row>
      <ion-row class="second-row">
        <ion-col width-60 class="left">{{item[8]}},{{item[9]}}</ion-col>
        <ion-col width-25 class="right">{{item[0]}}</ion-col>
      </ion-row>
    </ion-item>
  </ion-list>
  <ion-item-divider class='list-no-more-tips' color="light" [hidden]="isLoadMore">暂无更多数据...</ion-item-divider>
  <ion-infinite-scroll (ionInfinite)="doInfinite($event)">
    <ion-infinite-scroll-content loadingSpinner="bubbles" loadingText="加载更多数据...">
    </ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
